package com.zry.admin.controller.overflow;


import com.zry.admin.query.OverflowListGoodsQuery;
import com.zry.admin.service.IOverflowListGoodsService;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author 张瑞洋
 * @title: OverflowListGoodsController
 * @projectName zry_jxc
 * @description: 报溢单商品表 前端控制器
 * @date 2022/1/23 22:57
 */
@Controller
@RequestMapping("/overflowListGoods")
public class OverflowListGoodsController {

    @Resource
    private IOverflowListGoodsService overflowListGoodsService;

    @RequestMapping("list")
    @ResponseBody
    public Map<String, Object> overflowListGoodsList(OverflowListGoodsQuery overflowListGoodsQuery) {
        return overflowListGoodsService.overflowListGoodsList(overflowListGoodsQuery);
    }
}
